/**
 * @(#)ProcessDefinitionQueryDAO.java Dec 9, 2009
 *   
 * Copyright  (c) 2009-2010 Wilmar IT Service,  Inc.   
 * All  rights  reserved.   
 * TODO
 */

package com.wilmar.process.dao.api;

import java.util.List;
import java.util.Map;

import org.jbpm.api.ProcessDefinition;

/**
 * @author makubex Email:makubexnet@gmail.com
 * @version 1.0.0
 */
public interface IProcessDefinitionQueryDAO extends
		IBaseDAO<ProcessDefinition, String> {

	/**
	 * 将通过hibernate查询出的map结果集转换成ProcessDefinition实体列表
	 * 
	 * @param propertyMaps
	 *            map结果集
	 * @return ProcessDefinition实体列表
	 */
	public List<ProcessDefinition> toProcessDefinitionList(
			List<Map<String, Object>> propertyMaps);
}
